import request from '@/utils/request'

// 封装登录接口
export const login = (data) => {
  return request({
    method: 'post',
    url: '/auth/login',
    data
  })
}
